package com.htsk.city.services.admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@ComponentScan("com.htsk.city")
@EnableJpaRepositories(basePackages = "com.htsk.city.services.core.dao")
@EntityScan("com.htsk.city.services.core.domain")
public class CityServicesAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(CityServicesAdminApplication.class, args);
    }

}
